<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <%@ taglib prefix="perm" uri="http://wanhuakeji.com/permission" %>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <script type="text/javascript" src="${path}/html/js/js-jsp/layout-sub.js"></script>
        <script type="text/javascript" src="${path}/html/js/js-jsp/us/company/company.js?v=<%out.print(Math.random());%>"></script>
        <script type="text/javascript" src="${path}/html/js/js-jsp/common/select-plugin.js"></script>
        <script>
            addBtn = <perm:hasPermission permission="rules:us_company_add"/>;
            delBtn = <perm:hasPermission permission="rules:us_company_del"/>;
            editBtn = <perm:hasPermission permission="rules:us_company_edit"/>;
            searchBtn = <perm:hasPermission permission="rules:us_company_find"/>;
            viewBtn = <perm:hasPermission permission="rules:us_company_view"/>;
        </script>
    </head>
    <body style="height:100%;">
        <div class="easyui-layout" fit="true" space="2">
            <div region="north" style="height:100%;">
                <div class="easyui-layout" fit="true" space="2">
                    <div region="north" class="searchToolBar" border="false" style="height: 120px">
                       <fieldset>
                           <legend>系统操作</legend>
                        <form id="companyQueryForm" name="companyQueryForm" method="post">
                            <table class="searchTable">
                                <tr class="searchTableTr">
                                    <td>
                                        <input class="easyui-textbox" type="text" label="公司名称：" labelWidth="82"
                                               labelposition="left" data-options="prompt:'请输入公司名称'" name="name" id="companyName"
                                               style="width:90%; height: 32px">
                                    </td>
                                    <td>
                                        <input class="easyui-combobox" label="公司类型：" labelWidth="82" labelposition="left"
                                               name="companyType" id="companyType" style="width:90%; height: 32px">
                                    </td>
                                    <td>
                                        <input class="easyui-textbox" type="text" label="营业执照号：" labelWidth="100"
                                               labelposition="left" data-options="prompt:'请输入营业执照号'" name="registerID"
                                               id="registerID" style="width:90%; height: 32px">
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <table class="searchTable" style="margin-top: 0px">
                                <tr class="searchTableTr">
                                    <td></td>
                                    <td></td>
                                    <td colspan="2" style="width: 50%;">
                                        <!--公司操作菜单-->
                                        <div class="searchButton">
                                           <div id="company_Menu"></div>
                                        </div>
                                    </td>
                                </tr>
                                </table>
                            </table>
                        </form>
                       </fieldset>
                    </div>
                    <div region="center" border="false" style="padding: 0px;">
                        <!--公司表格列表-->
                        <table id="company_dataList"></table>
                    </div>
                </div>
            </div>
        </div>
        <!-- 用于存储下拉框数据 -->
        <div style="display:none">
            <select class="easyui-combobox" id="compTypeTemp" style="width: 225px" editable="false"></select>
        </div>
        <script type="text/javascript" src="${path}/html/js/js-jsp/common-optionBtnArray.js"></script>
    </body>
</html>
